package com.bean.vo;

import com.bean.entity.StudentInfo;
import com.bean.entity.Teachers;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * 学生交流表
 */
public class StudentCommunicationVo implements Serializable {
    private Integer id;
    private Long studentId;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date communicateTime;
    private String  communicateContent;
    private Integer  teacherId;

    private StudentInfo studentInfo;
    private Teachers teachers;

    @Override
    public String toString() {
        return "StudentCommunicationVo{" +
                "id=" + id +
                ", studentId=" + studentId +
                ", communicateTime=" + communicateTime +
                ", communicateContent='" + communicateContent + '\'' +
                ", teacherId=" + teacherId +
                ", studentInfo=" + studentInfo +
                ", teachers=" + teachers +
                '}';
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Long getStudentId() {
        return studentId;
    }

    public void setStudentId(Long studentId) {
        this.studentId = studentId;
    }

    public Date getCommunicateTime() {
        return communicateTime;
    }

    public void setCommunicateTime(Date communicateTime) {
        this.communicateTime = communicateTime;
    }

    public String getCommunicateContent() {
        return communicateContent;
    }

    public void setCommunicateContent(String communicateContent) {
        this.communicateContent = communicateContent;
    }

    public Integer getTeacherId() {
        return teacherId;
    }

    public void setTeacherId(Integer teacherId) {
        this.teacherId = teacherId;
    }

    public StudentInfo getStudentInfo() {
        return studentInfo;
    }

    public void setStudentInfo(StudentInfo studentInfo) {
        this.studentInfo = studentInfo;
    }

    public Teachers getTeachers() {
        return teachers;
    }

    public void setTeachers(Teachers teachers) {
        this.teachers = teachers;
    }
}
